//
//  Macro.h
//  TrainTree
//
//  Created by wanghui on 2017/8/24.
//  Copyright © 2017年 YouYeShu. All rights reserved.
//

#ifndef Macro_h
#define Macro_h
#define ScreenHeight [[UIScreen mainScreen] bounds].size.height
#define ScreenWidth [[UIScreen mainScreen] bounds].size.width
#define ImageNamed(image) [UIImage imageNamed:image]
#define WeakSelf(weakSelf)  __weak __typeof(&*self)weakSelf = self
#define USERDEFAULT [NSUserDefaults standardUserDefaults]
#define rgb(r,g,b) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:1.0]
#define verticalColor rgb(44.0, 126.0, 194.0)
#define verticalGrayColor rgb(216.0, 216.0, 216.0)
#define rgba(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#define universeColor rgb(51, 181, 158)
#define leaderColor rgb(235, 107, 52)
#define operationColor rgb(44, 126, 194)
#define hrColor rgb(131, 38, 118)
#define financeColor rgb(212, 10, 62)
#define lecColor rgb(26, 64, 152)
 



#endif /* Macro_h */
